AmpProject\AmpWP\Infrastructure\Injector\SimpleInjector S

Total Complexity 48
Dependencies 9
Dependents 1
Total lines 457
Lines of code 197
Logical lines of code 91
Comment lines 166
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
resolve_argument()
A
48 10 35
resolve_argument_by_name()
A
53 8 24
make()
S
52 4 27
make_dependency()
S
53 4 25
resolve()
S
59 3 16
get_dependencies_for()
S
58 2 18
get_delegate()
S
71 2 6
get_shared_instance()
S
70 2 6
has_shared_instance()
S
74 2 4
__construct()
S
73 2 5
get_class_reflection()
S
69 2 7
ensure_is_instantiable()
S
74 2 5
delegate()
S
76 1 4
share()
S
76 1 4
bind_argument()
S
75 1 4
has_delegate()
S
79 1 3
bind()
S
76 1 4